package com.example.dianchiwater;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.webkit.WebView;

public class web_view_gw extends AppCompatActivity {

    WebView webGw;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_web_view_gw);
        webGw = findViewById(R.id.webGw);
        webGw.loadUrl("http://dgj.km.gov.cn/");
        webGw.getSettings().setSupportZoom(true);
        webGw.getSettings().setBuiltInZoomControls(true);
        webGw.getSettings().setJavaScriptEnabled(true);
        webGw.getSettings().setLoadWithOverviewMode(true);
        webGw.getSettings().setUseWideViewPort(true);
    }
}